/* eslint-disable @typescript-eslint/ban-types */
export default class StudioOperate {
  public type: OperateType = OperateType.Unknown;
  public action = '';
  public undo: Function | null = null;
  public redo: Function | null = null;
  public undoParams: any[] = [];
  public redoParams: any[] = [];
}
export enum OperateType {
  Unknown = 0,
  AddVoice = 1,
  RemoveVoice = 2,
  AddCaption = 3,
  RemoveCaption = 4,
  AddFlag = 5,
  RemoveFlag = 6,
  ChangeProjectName = 7,
  ChangeVoiceVolumn = 8,
  ChangeVideoVolumn = 9,
  ChangeBlock = 10,
}
